package logic;

import java.util.HashSet;
import java.util.Set;

/**
 * Created with IntelliJ IDEA.
 * User: Vans
 * Date: 04.03.13
 * Time: 16:14
 * To change this template use File | Settings | File Templates.
 */
public class Bus {
    private Long id;
    private String number;
    private Set driver = new HashSet();
    private Long route_id;

    public Bus(){}

    public Long getRoute_id() {
        return route_id;
    }

    public void setRoute_id(Long route_id) {
        this.route_id = route_id;
    }

    public Set getDriver() {
        return driver;
    }

    public void setDriver(Set driver) {
        this.driver = driver;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
